﻿using System;
using System.Collections.Generic;
using System.Xml.Serialization;

namespace tjb.Utility.Gather
{
    /// <summary>
    /// 文章
    /// </summary>
    [Serializable()]
    public class ArticleRule
    {
        /// <summary>
        /// 文章url
        /// </summary>
        [XmlAttribute("Url")]
        public string Url
        {
            get;
            set;
        }
        /// <summary>
        /// 页面编码
        /// </summary>
        [XmlAttribute("Coding")]
        public string Coding
        {
            get;
            set;
        }
        /// <summary>
        /// 作者
        /// </summary>
        public List<Rule> Author
        {
            get;
            set;
        }
        /// <summary>
        /// 标题
        /// </summary>
        public List<Rule> Title
        {
            get;
            set;
        }
        /// <summary>
        /// 来源
        /// </summary>
        public List<Rule> Resource
        {
            get;
            set;
        }
        /// <summary>
        /// 内容
        /// </summary>
        public List<Rule> Content
        {
            get;
            set;
        }
        /// <summary>
        /// 图片
        /// </summary>
        public List<Rule> Picture
        {
            get;
            set;
        }
        /// <summary>
        /// 时间
        /// </summary>
        public List<Rule> DateTime
        {
            get;
            set;
        }
    }
}
